home *** CD-ROM | disk | FTP | other *** search
- // Copyright 2001 Macromedia, Inc. All rights reserved.
- var DEBUG = false
- var node_filename = "REQ_D.gif"
- var datasourceleaf_filename = "DSL_D.gif"
-
-
- function addDynamicSource()
- {
- SavePageWideValue("Form Variable")
- }
-
-
- function findDynamicSources()
- {
- return GetPageWideSourceDisplayNode("Form Variable", MM.LABEL_Form, node_filename, "FORM.htm","")
- }
-
-
- function generateDynamicSourceBindings()
- {
- return GetBindingsOfPageWideSource("Form Variable", "FORM")
- }
-
-
- function generateDynamicDataRef(elementName,bindingName)
- {
- //For localized object name
- if (elementName != "Form")
- elementName = "Form"
-
- var retVal = "<cfoutput>#" + elementName + "." + bindingName + "#</cfoutput>"
- retVal = stripCfoutputIfNested(retVal);
- return retVal;
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Function: inspectDynamicDataRef
- //
- // Inspects a dynamic binding string and returns a pair of source and binding.
- ////////////////////////////////////////////////////////////////////////////////
- function inspectDynamicDataRef(expression)
- {
- return CFInspectDynamicDataRef(expression);
- }
-
-
- function deleteDynamicSource(sourceName,bindingName)
- {
- DeleteBindingOfPageWideSource("Form Variable", bindingName)
- }
-
-